

import request from '@/router/axios'

export function fetchList(query) {
  return request({
    url: '/hik/personplan/strange/page',
    method: 'get',
    params: query
  })
}

export function addObj(obj) {
  return request({
    url: '/hik/personplan/strange',
    method: 'post',
    data: obj
  })
}

export function getObj(id) {
  return request({
    url: '/hik/personplan/strange/' + id,
    method: 'get'
  })
}

export function delObj(id) {
  return request({
    url: '/hik/personplan/strange/' + id,
    method: 'delete'
  })
}

export function putObj(obj) {
  return request({
    url: '/hik/personplan/strange',
    method: 'put',
    data: obj
  })
}
//获取人脸分组list
export function getFaceGroupList(obj) {
  return request({
    url: '/hik/face/facegroup/list',
    method: 'get',
    data: obj
  })
}
//获取人脸资源list
export function getFaceResourceList(obj) {
  return request({
    url: '/hik/faceidentifyresource/list',
    method: 'get',
    data: obj
  })
}
//获取监控点list
export function getMonitorList(obj) {
  return request({
    url: '/hik/monitor/list',
    method: 'get',
    data: obj
  })
}
